package com.linQing.waterWork.modle.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.MongoId;

/**
 * @version 1.0.0
 * @program: linqing
 * @description: TODO
 * @author: lsk
 * @create: 2024-04-16 09:21
 * @since jdk1.8
 **/
@Document(collection = "test")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Tests {
    @MongoId
    private Integer id;

    @Field("UpdataTime")
    private String updataTime;

    @Field("AnalogValues")
    private String analogValues;

    @Field("DigitaValues")
    private String digitaValues;
}

